<template>
  <van-tabbar route v-model="active">
    <van-tabbar-item replace to="/index" name="index" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/active" name="active" icon="search" dot>活动</van-tabbar-item>
    <van-tabbar-item replace to="/shopping" name="shopping" icon="friends-o" badge="5">购物车</van-tabbar-item>
    <van-tabbar-item replace to="/mine" name="mine" icon="setting-o" badge="20">我的</van-tabbar-item>
  </van-tabbar>
</template>
<script>
export default {
  data() {
    return {
      active: 0
    };
  },
  activated() {},
  watch: {},
  created() {},
  mounted() {},
  methods: {}
};
</script>
<style>
</style>
